package com.qy.bean ;

import java.io.Serializable;

/**
* s_voucher 
* @author zhangwenlong
* @date   Tue Jan 30 12:11:31 GMT+08:00 2018
*/ 
public class Voucher extends DataObject  implements Serializable {

	/**
	 * 
     	*/
    	private static final long serialVersionUID = 1L;

	/**  */
	private int id;

	/** 代金卷价格 */
	private int voucherPrice;

	/** 出售价格 */
	private int sellPrice;

	/** 名称 */
	private String name;

	/** 描述 */
	private String vDesc;

	/** 图片 */
	private String image;

	public void setId(int id) {
		if (this.id != id) {
			this.id = id;
			setOp(Option.Update);
		}
	}

	public int getId() {
		return id;
	}

	public void setVoucherPrice(int voucherPrice) {
		if (this.voucherPrice != voucherPrice) {
			this.voucherPrice = voucherPrice;
			setOp(Option.Update);
		}
	}

	public int getVoucherPrice() {
		return voucherPrice;
	}

	public void setSellPrice(int sellPrice) {
		if (this.sellPrice != sellPrice) {
			this.sellPrice = sellPrice;
			setOp(Option.Update);
		}
	}

	public int getSellPrice() {
		return sellPrice;
	}

	public void setName(String name) {
		if(this.name == null || !this.name.equals(name)) {
			this.name = name;
			setOp(Option.Update);
		}
	}

	public String getName() {
		return name;
	}

	public void setVDesc(String vDesc) {
		if(this.vDesc == null || !this.vDesc.equals(vDesc)) {
			this.vDesc = vDesc;
			setOp(Option.Update);
		}
	}

	public String getVDesc() {
		return vDesc;
	}

	public void setImage(String image) {
		if(this.image == null || !this.image.equals(image)) {
			this.image = image;
			setOp(Option.Update);
		}
	}

	public String getImage() {
		return image;
	}

}

